﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;
using Volo.Abp.Domain.Entities;

namespace MyEartags.Individual
{
    /// <summary>
    /// 个体销售表
    /// </summary>
    [Table("ZooidSelling")]
    public class ZooidSelling : BasicAggregateRoot<int>
    {
        /// <summary>
        /// 销售日期
        /// </summary>
        public DateTime Salesdate { get; set; }

        /// <summary>
        /// 单据号
        /// </summary>
        public string? Document { get; set; }

        /// <summary>
        /// 客户
        /// </summary>
        public string? Client { get; set; }

        /// <summary>
        /// 只数
        /// </summary>
        public int Onlynum { get; set; }

        /// <summary>
        /// 总成交价
        /// </summary>
        public decimal Transactionprice { get; set; }

        /// <summary>
        /// 审核状态
        /// </summary>
        public bool Auditstatus { get; set; }

        /// <summary>
        /// 部门
        /// </summary>
        public string? Department { get; set; }

        /// <summary>
        /// 收货地址
        /// </summary>
        public string? Shippingaddress { get; set; }

        /// <summary>
        /// 销售员
        /// </summary>
        public string? Salesman { get; set; }

        /// <summary>
        /// 创建人
        /// </summary>
        public string? Addpeople { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime AddDate { get; set; } = DateTime.Now;

        /// <summary>
        /// 修改人
        /// </summary>
        public string? Exitpeople { get; set; }

        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime Exitdate { get; set; } = DateTime.Now;

        /// <summary>
        /// 审核人
        /// </summary>
        public string? Auditorpeople { get; set; }

        /// <summary>
        /// 审核时间
        /// </summary>
        public DateTime Auditordate { get; set; } = DateTime.Now;

        /// <summary>
        /// 财务审核人
        /// </summary>
        public string? Financialauditman { get; set; }

        /// <summary>
        /// 财务审核时间
        /// </summary>
        public DateTime Financialaudittime { get; set; } = DateTime.Now;

        /// <summary>
        /// 仓库审核人
        /// </summary>
        public string? WareHouseauditman { get; set; }

        /// <summary>
        /// 仓库审核时间
        /// </summary>
        public DateTime WareHouseaudittime { get; set; } = DateTime.Now;

        /// <summary>
        /// 定价
        /// </summary>
        public decimal Pricing { get; set; }

        /// <summary>
        /// 等级
        /// </summary>
        public string? Grade { get; set; }

        /// <summary>
        /// 品种
        /// </summary>
        public int Varietyid { get; set; }

        /// <summary>
        /// 性别
        /// </summary>
        public bool Gender { get; set; }

        /// <summary>
        /// 羊只类型
        /// </summary>
        public string? Sheeptype { get; set; }

        /// <summary>
        /// 繁殖状态
        /// </summary>
        public int BreedState { get; set; }

        /// <summary>
        /// 栋舍
        /// </summary>
        public string? Ridgepole { get; set; }

        /// <summary>
        /// 栏位
        /// </summary>
        public string? Gield { get; set; }

        /// <summary>
        /// 出生日期
        /// </summary>
        public DateTime Birthdate { get; set; }

        /// <summary>
        /// 出生体重
        /// </summary>
        public int BirthWeight { get; set; }

        /// <summary>
        /// 断奶体重
        /// </summary>
        public int WeanWeight { get; set; }

        /// <summary>
        /// 父号
        /// </summary>
        public string? FatherSign { get; set; }

        /// <summary>
        /// 母号
        /// </summary>
        public string? MotherSign { get; set; }

        /// <summary>
        /// 月龄
        /// </summary>
        public int MoonAge { get; set; }
    }
}
